﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TextEditor.TextDocument.Control
{
    public partial class frmCheckParam : DevComponents.DotNetBar.Office2007Form
    {
        public frmCheckParam()
        {
            InitializeComponent();
        }

        public string Id
        {
            get
            {
                return this.textBox1.Text.Trim();
            }
            set
            {
                this.textBox1.Text = value;
            }
        }


        public string CName
        {
            get
            {
                return this.textBox2.Text.Trim();
            }
            set
            {
                this.textBox2.Text = value;
            }
        }


        public string Content
        {
            get
            {
                return this.textBox3.Text.Trim();
            }
            set
            {
                this.textBox3.Text = value;
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.Close();
        }
    }
}
